package cn.fintecher.pangolin.service.dataimp.repository;

import cn.fintecher.pangolin.entity.mysql.Department;
import org.springframework.data.jpa.repository.JpaRepository;

/**
 * @Auther: xiaqun
 * @Description:
 * @Date: 11:31 2019/9/23
 */
public interface DepartmentRepository extends JpaRepository<Department, String> {
    /**
     * 通过名称查询部门
     */
    Department findByName(String name);
}
